﻿using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Eqwww.Domain.Models.Identity
{
    public class UserModel: IdentityUser, ICreateAudited, ILastUpdateAudited, IDeleteAudited
    {
        [Display(Name = "创建人")]
        public string CreateUserId { get; set; }

        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }
        [Display(Name = "最后更新人")]
        public string LastUpdateUserId { get; set; }

        [Display(Name = "最后更新时间")]
        public DateTime? LastUpdateTime { get; set; }
        [Display(Name = "删除标识")]
        public bool? DeleteMark { get; set; }
        [Display(Name = "删除人")]
        public string DeleteUserId { get; set; }

        [Display(Name = "删除时间")]
        public DateTime? DeleteTime { get; set; }

        [Display(Name = "头像")]
        public string Avatar { get; set; }
        [Display(Name = "姓名")]
        public string RealName { get; set; }
        [Display(Name = "禁用标识")]
        public bool? IsDisabled { get; set; }

        [Display(Name = "系统用户标识")]
        public bool? IsSystem { get; set; }

        public int? SortCode { get; set; }

        [Display(Name = "账号类型")]
        public UserType? UserType { get; set; }
        [Display(Name = "添加类型")]
        public AddType? AddType { get; set; }

        [Display(Name = "联系方式")]
        public string Contact { get; set; }
    }
}
